 var mongoose = require('../utils/mongodb.js');


var testCaseRegistrationSchema = mongoose.Schema({
    _id:String,
    testCaseId:String,
    status:String,
    outputMsg : String,
    testSuitId: String,
    createdDate: {
        type: Date,
        default: Date.now
    },
    updatedDate: {
        type: Date,
        default: Date.now
    },
    expectedRunningTime:Date,
    taskType: String,    //RunningDataPreparation,RunningTestCase
    orderNum: String,
    prepareFor: String
},{
    timestamps: { createdAt: 'createdDate', updatedAt: 'updatedDate' }
});

exports.testCaseRegistration = mongoose.model('testcaseregistrations',testCaseRegistrationSchema);
